﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="wfCustUserLogin.aspx.cs" Inherits="msBsc.WebUi.Custom.wfCustUserLogin" %>

<!DOCTYPE HTML>
<html>
<head id="Head1" runat="server"> 
    <title>优速购商城客户登录</title>
    <link rel="shortcut icon" href="/themes/Style1/Image/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="/??themes/Style1/StyleQt.css,themes/Style1/reg2.css," />  
    <script src="/??jqPlugin/js/jquery-1.8.3.min.js,js/jBase.js,js/jBPage.js,themes/Style1/jsQt.js" type="text/javascript"></script>
    <!--head fix rgn--> 
    <style type="text/css">
     
.form-item{padding:5px 0 5px 260px;line-height:26px;zoom:1;}
    </style>
    <script type="text/javascript">
        $(window).load(function () {
            jQuery.getValidateImg('J_CheckCodeContainer');
            if (LS.get('CURR_LOGIN_USR_NME') != null && LS.get('CURR_LOGIN_USR_NME') != 'undefined') {
                $('#txtUserNme').val(LS.get('CURR_LOGIN_USR_NME'));
            }

            $("#J_BtnEmailForm").click(function () {
                dologin();
            });
            $('#J_EmailForm').find('input').keyup(function (event) {
                if (event.keyCode == 13) {
                    dologin();
                }
            });
        });
        function dologin() {
            if ($("#txtUserNme").val() && $("#txtUsrPass").val() && $("#J_CheckCodeInput").val()) {
                var _jsParam = new jsonRow();
                _jsParam.AddCell("ACTION", "REGIST_STEP1");
                _jsParam.AddCell("USER_NME", $("#txtUserNme").val());
                _jsParam.AddCell("USER_PASS", $("#txtUsrPass").val());
                _jsParam.AddCell("VALIDATE_CDE", $("#J_CheckCodeInput").val());
                ajaxComm(_jsParam);
            } else {
                alert("登录不成功：请输入登录名、密码、校验码！");
            }
        };
        function RetToUrl() {
            var ut = $("#txtRetUrl").val();
            if (ut) {
                window.location.href = ut;
            } else {
                window.location.reload(true);
            }
        };
    </script>
</head>
<body> 
    <div id="mallPage" class="tms-page mallAct tmall-  page-not-market">
        <!-- -->
        <!--商城通用顶通-->
        <%=new msBsc.WebUi.Code.QtHtmlGet().GetHeaderTopHtml()%>
        <%=new msBsc.WebUi.Code.QtHtmlGet().GetHeaderLogoHtml()%>
<div class="page lang-zh-S">

<input type="hidden" id="txtRetUrl" value=""  />
		 

		<div class="steps" style=" margin-bottom:20px;">
	<%--<ol>
		<li class="active"><i>1</i><span class="tsl" data-phase-id="r_p_createAccount">设置登录名</span></li>
		<li><i>2</i><span class="tsl" data-phase-id="r_p_fillUserInfo">填写账户信息</span></li>
		<li><i class="iconfont">㑇</i><span class="tsl" data-phase-id="r_p_regSuc">注册成功</span></li>
	</ol>--%>

			
	</div>
	
	<div class="content" style=" background-color:#fff; padding:50px;">
		<div class="form-list form-main-list">
			<form id="J_EmailForm" method="post" action="#">
				<div class="from-group">
						<div class="form-item" id="divtipinfo" style="display:none;">
							<span class="form-label form-label-b tsl" data-phase-id="r_ui_enterPwdTip">提示：</span>
							<span class="tsl" data-phase-id="r_ui_pwdTip" style="color:#c40000;">你没有权限访问当前页面，需要重新登录！</span>
						</div>
						<div class="form-item">
							<span class="form-label form-label-b tsl" data-phase-id="r_ui_enterPwdTip">输入登录名和密码</span>
							<span class="tsl" data-phase-id="r_ui_pwdTip">登录名可是邮箱地址、优速购会员名</span>
						</div>
					<div class="form-item">
						<span class="form-label tsl" >登录名</span>
						<input class="form-text" id="txtUserNme" name="email" type="text" value=""  />
					</div>
					<div class="form-item">
						<span class="form-label tsl" >密  码</span>
						<input class="form-text" id="txtUsrPass" name="email" type="password" value=""  />
					</div>
					
										<div class="form-item form-item-checkcode">
						<span class="form-label tsl">验证码</span>
						<input id="J_CheckCodeInput" name="imgChkcode" class="form-text checkcode-text" type="text" value="" />
						<div id="J_CheckCodeContainer" class="checkcode-container" ></div> 
                        <div style=" margin:0px; padding:0px; line-height:12px;height:12px; margin-bottom:-15px; margin-top:6px; font-size:12px;">
	<a href="/c_ForgetPws.htm" target="_self" style="color:Blue;">忘记登录密码？</a>
                        </div>
					</div>
				</div>
				<div class="form-group">
					<div class="form-item"> 
						

					</div>
					<div class="form-item form-item-short">
						<button type="button" class="btn btn-large tsl"  id="J_BtnEmailForm" style=" margin-top:20px;">确　定</button> 
					</div> 
					</div>
				</form>
			</div>
        <div style="clear:both; height:30px; margin-bottom:30px;"></div>
		</div> 
        <div style="clear:both; height:10px;"></div>
</div>

        <%=new msBsc.WebUi.Code.QtHtmlGet().GetFloorHtml()%> 
    </div>
    <!-- foot script --> 
</body>
</html>
